/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

import java.util.Date;

/**
 * 运输价格表Entity
 * @author 李超辉
 * @version 2019-04-28
 */
public class PriceCustomers extends DataEntity<PriceCustomers> {
	
	private static final long serialVersionUID = 1L;
	private NewCustomers customer;		// 客户Id 父类
	private String zylx;		// 作业类型
	private Width width;		// 结算吨位区间
	private String jsjg;		// 结算价格
	private String fjf;		// 结算附加费
	private String tsdj;		// 特殊单价
	private String zdlc;		// 最大里程
	private String zxlc;		// 最小里程
	private Date ksrq;		// 生效日期
	private Date jzrq;		// 失效日期
	private String pro;
	
	public PriceCustomers() {
		super();
	}

	public PriceCustomers(String id){
		super(id);
	}

	public PriceCustomers(NewCustomers customer){
		this.customer = customer;
	}
	@ExcelField(title="收货单位名称", fieldType=NewCustomers.class, value="customer.dwmc", align=2, sort=6)
	public NewCustomers getCustomer() {
		return customer;
	}

	public void setCustomer(NewCustomers customer) {
		this.customer = customer;
	}
	
	@ExcelField(title="作业类型", align=2, sort=8)
	public String getZylx() {
		return zylx;
	}

	public void setZylx(String zylx) {
		this.zylx = zylx;
	}
	
	@ExcelField(title="结算吨位区间",fieldType=Width.class, value="width.width", align=2, sort=9)
	public Width getWidth() {
		return width;
	}

	public void setWidth(Width width) {
		this.width = width;
	}
	
	@ExcelField(title="结算价格", align=2, sort=10)
	public String getJsjg() {
		return jsjg;
	}

	public void setJsjg(String jsjg) {
		this.jsjg = jsjg;
	}
	
	@ExcelField(title="结算附加费", align=2, sort=11)
	public String getFjf() {
		return fjf;
	}

	public void setFjf(String fjf) {
		this.fjf = fjf;
	}
	
	@ExcelField(title="特殊单价", align=2, sort=12)
	public String getTsdj() {
		return tsdj;
	}

	public void setTsdj(String tsdj) {
		this.tsdj = tsdj;
	}
	
	@ExcelField(title="最大里程", align=2, sort=13)
	public String getZdlc() {
		return zdlc;
	}

	public void setZdlc(String zdlc) {
		this.zdlc = zdlc;
	}
	
	@ExcelField(title="最小里程", align=2, sort=14)
	public String getZxlc() {
		return zxlc;
	}

	public void setZxlc(String zxlc) {
		this.zxlc = zxlc;
	}
	@JsonFormat(pattern = "yyyy-MM-dd")
	@ExcelField(title="生效日期", align=2, sort=15)
	public Date getKsrq() {
		return ksrq;
	}

	public void setKsrq(Date ksrq) {
		this.ksrq = ksrq;
	}
	@JsonFormat(pattern = "yyyy-MM-dd")
	@ExcelField(title="失效日期", align=2, sort=16)
	public Date getJzrq() {
		return jzrq;
	}

	public void setJzrq(Date jzrq) {
		this.jzrq = jzrq;
	}
	@ExcelField(title="项目", align=2, sort=17)
	public String getPro() {
		return pro;
	}

	public void setPro(String pro) {
		this.pro = pro;
	}
}